from utils.log_util import logger


def compare_list(list1, list2):
    res_list1 = [i for i in list1 if i not in list2]
    logger.info("list1中比list2多的元素为：{}".format(res_list1))
    res_list2 = [i for i in list2 if i not in list1]
    logger.info("list2中比list1多的元素为：{}".format(res_list2))
    return res_list1, res_list2